home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d5 / tran.arc / TRAN.DOC < prev    next >
Text File  |  1988-09-10  |  3KB  |  95 lines

  1.                             TRAN
  2.  
  3.  
  4. TRAN is a text-to-speech program for the IBM-PC.  It can read ASCII text
  5. files, translate normal English spelling to phonemes, and sound out each
  6. phoneme through the speaker of the IBM-PC. 
  7.  
  8.     usage: tran [+/-flags] [-options] [filename]
  9.  
  10. The filename is an ASCII text file (with no word processor formatting
  11. codes).  If no filename is given TRAN reads input from the keyboard. 
  12. The flags and options control various features of the program.  A '+'
  13. turns the flag on and a '-' turns the flag off.  Options can use either
  14. '+' or '-'. 
  15.  
  16.     flags: + = on, - = off
  17.            p   type output of phoneme translation [off]
  18.            r   add rule no. to phoneme translation [off]
  19.            s   say output [on]
  20.            t   echo input to console [off]
  21.            T   do phoneme translation [on]
  22.            v   type other internal information [off]
  23.  
  24.     options:
  25.            c        say the time of day [once]
  26.            C        say the time of day [every 10 seconds]
  27.           d1 N      use N for space rate timing [5]
  28.           d2 N      use N for voice rate timing [1]
  29.            R        print all pronunciation rules
  30.            ?        type usage
  31.  
  32. The following are example of ways to use the TRAN program.  You can have
  33. tran type out and read this file with the command:
  34.  
  35.     tran +t tran.doc
  36.  
  37. If you also want to see the phoneme translation add the +p flag:
  38.  
  39.     tran +p +t tran.doc
  40.  
  41. You can save the phoneme translation in a file by typing:
  42.  
  43.     tran -s +p tran.doc > tran.phn
  44.  
  45. and listen to the phoneme at some other time file by typing:
  46.  
  47.     tran -T tran.phn
  48.  
  49. The TRAN program will say the time once if you type:
  50.  
  51.     tran +t +c
  52.  
  53. or will continue to say the time every 10 seconds if you type:
  54.  
  55.     tran +t +C
  56.  
  57. There are two timing parameters, d1 and d2, that control the rate that
  58. TRAN speaks.  Making d1 larger increases the pauses between words and
  59. making d2 larger lowers the pitch of the voice phonemes.  Both d1 and d2
  60. must have a value of 1 or greater.  On an IBM-PC/XT, good values for the
  61. timing parameters are d1=2 and d2=1.  If these parameters are not set
  62. explicitly, the program will try to determine acceptable values
  63. automatically.  Setting these values, will let TRAN by-pass the
  64. automatic setting, which save a second or two starting the program. 
  65. These values can be set on the command line:
  66.  
  67.     tran -d1 2 -d2 1 ... 
  68.  
  69. or by using the environment variable TRAN to pass these values as
  70. d1,d2:
  71.  
  72.     set TRAN=2,1
  73.  
  74. On a 10 MHz IBM-PC/AT the timing prarameters need to be larger, d1=4
  75. d2=13. 
  76.  
  77. Most of the speech-to-text rules used in the tran program come from an
  78. article in an IEEE journal:
  79.  
  80. Elovitz, H.S., Johnson, R., McHugh, A., and Shore, J.E.  (1976). 
  81. "Letter-to-Sound Rules for Automatic Translation of English Text to
  82. Phonetics," IEEE Transactions on Acoustics, Speech, and Signal
  83. Processing, Vol.  ASSP-24(6), 446-458. 
  84.  
  85. The program contains a set of 35 phonemes, each encoded as a sequence of
  86. bits controlling the position (in or out) of the PC speaker.  The
  87. phoneme codes come from the public domain program SPEECH by Andy
  88. McGuire. 
  89.  
  90. Send your comments and suggestions to:
  91.  
  92.                                             Stephen Neely
  93.                                             11230 Ohio St. 
  94.                                             Omaha, NE 68131
  95.